<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>留言列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="css/list.css" rel="stylesheet" type="text/css">
	<link href="css/style.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="css/backeditor.css" type="text/css"></link>
  </head>
  
  <body>
  	<iframe  src="page/top1.jsp" class="topiframe"></iframe>
    <div class="page">
    	<div class="list_title">&gt;&gt;留言</div>
    	<div class="list">
    		<dl>
    			<s:iterator value="groupOfMessage.shMessage">
    			<dt><a href="queryMessageById.action?no=${mid}"><s:property value="mtitle" /></a></dt>
    			<dd>[<s:property value="mtime.toString().substring(0,10)" />]</dd>
    			</s:iterator>
    		</dl>
    	</div>
    	<div class="tabs">
    		<div>
    		    <a href="addMessage.action"><font color="red">我要留言</font></a>&nbsp;&nbsp;&nbsp;
    			第<s:property value="groupOfMessage.currentPage"/>页，
    			共<s:property value="groupOfMessage.totalPage"/>页，
    			[<a href="queryMessage.action?page=<s:property value="groupOfMessage.currentPage"/>&param=forward">上一页</a>]&nbsp;|
    			[<a href="queryMessage.action?page=<s:property value="groupOfMessage.currentPage"/>&param=backward">下一页</a>]
    		</div>
    	</div>
    </div>
    <iframe src="page/bottom.jsp" class="bottomiframe"></iframe>
  </body>
</html>
